<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>档案管理 - 老年人健康档案服务平台</title>
    <link href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css" rel="stylesheet">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
    <div class="container">
        <header>
            <div class="header-left">
                <a href="{{ url_for('index') }}" class="back-btn">
                    <i class="ri-arrow-left-line"></i>
                    返回首页
                </a>
                <h1>档案管理</h1>
            </div>
            <div class="user-actions">
                <form action="{{ url_for('logout') }}" method="GET" style="display: inline;">
                    <button type="submit"><i class="ri-logout-box-line"></i>退出登录</button>
                </form>
            </div>
        </header>

        <main>
            <div class="action-bar">
                <button onclick="showAddElderlyForm()"><i class="ri-user-add-line"></i>添加档案</button>
            </div>
            <div id="elderly-table"></div>
        </main>
    </div>
    <script src="{{ url_for('static', filename='js/elderly.js') }}"></script>
</body>
</html> 